package com.hhit.brpc.controller.service.impl;

import com.baidu.brpc.spring.annotation.RpcExporter;
import com.hh.analyse.Analyse.AnalyseImageInfo;
import com.hh.analyse.Analyse.AnalyseImageResponse;
import com.hh.analyse.service.CommonService;

import lombok.extern.log4j.Log4j2;

@Log4j2
@RpcExporter
public class BrpcCommonServiceImpl implements CommonService {

	public AnalyseImageResponse pushAnalyseImage(AnalyseImageInfo request) {
		log.info("=================="+request);
		AnalyseImageResponse response=AnalyseImageResponse.newBuilder().setClientId(request.getClientId()).setImageId(request.getImageId()).build();
		return response;
	}

}
